<template>
  <DemoSuspense datasource="/demo/WasherDryer/data" :control-creator="createDemoWasherDryerControl">
    <template #default="{ control }">
      <WasherDryerView :control="(control as WasherDryerController.Control)" />
    </template>
  </DemoSuspense>
</template>

<script setup lang="ts">
import DemoSuspense from '../DemoSuspense.vue'
import WasherDryerView from '../../WasherDryer/WasherDryerView.vue'
import { createDemoWasherDryerControl } from '@/controller/demo/WasherDryer'
import type { WasherDryerController } from '@/controller/WasherDryer/definition'
</script>
